package com.mor.customer.service;

import com.mor.customer.dao.CustomDAO;
import com.mor.customer.dto.CustomerDto;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created by dell on 2018/3/15.
 */
@Service
public class CustomerServiceImpl {
    @Autowired
    private CustomDAO dao;

    public List<CustomerDto> findAllUser(CustomerDto dto){
        return dao.findAllUser(dto);
    }

}
